﻿package extend.php
{

    public class SenderType extends Object
    {
        public static const Preloader:int = 5;
        public static const Login:int = 6;
        public static const CreateRole:int = 7;
        public static const LoadCreateRole:int = 8;
        public static const LoadCreateRoleSuccess:int = 9;
        public static const LoadCreateRoleFail:int = 10;
        public static const ClickCreateRole:int = 11;
        public static const CreateRoleSuccess:int = 12;
        public static const CreateRoleFail:int = 13;
        public static const LoginSuccess:int = 14;
        public static const LoginFail:int = 15;
        public static const LoadMaigGameSwfSuccess:int = 16;
        public static const LoadMaigGameSwfFail:int = 17;
        public static const LoadConfigSuccess:int = 18;
        public static const LoadConfigFail:int = 19;
        public static const LoadResourceSuccess:int = 20;
        public static const LoadResourceFail:int = 21;
        public static const LoginGame:int = 22;
        public static const LoginGameFail:int = 23;
        public static const LoginGameSuccess:int = 24;
        public static const GameSocketClose:int = 25;
        public static const FlashClose:int = 26;
        public static const LoadRoleModelSuccess:int = 30;
        public static const LoadRoleModelFail:int = 31;
        public static const LoadBarHide:int = 32;
        public static const FlashVersion:int = 27;
        public static const PlayerScreen:int = 28;
        public static const PlayerDriver:int = 29;
        public static const MapFrame:int = 33;
        public static const RechargeFrom:int = 34;
        private static var _typeInfoMap:Object = {5:"预加载成功", 6:"登陆验证服务器", 7:"需要创建角色", 8:"开始加载创号页面", 9:"创号页面加载成功", 10:"创号页面加载失败", 11:"点击创建角色界面", 12:"创建角色成功", 13:"创建角色失败", 14:"登陆验证服务器成功", 15:"登陆验证服失败", 16:"加载MainGame.swf成功", 17:"加载MainGame.swf失败", 18:"加载配置文件成功", 19:"加载配置文件失败", 20:"加载资源文件成功", 21:"加载资源文件失败", 22:"登陆游戏服务器", 23:"登陆游戏服务器失败", 24:"登陆游戏服务器成功", 25:"服务器连接已断开", 26:"flash关闭", 27:"玩家版本号", 28:"玩家屏幕分辨率", 29:"玩家显卡", 30:"加载主角模型成功", 31:"加载主角模型失败", 32:"进入游戏界面", 33:"地图的帧频"};

        public function SenderType()
        {
            return;
        }// end function

        public static function getInfoByType(param1:int) : String
        {
            return _typeInfoMap[param1];
        }// end function

    }
}
